#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
int main()
{
	int a = 0;
	int b = 0;
	for (a = 1, b = 0;a <= 9, b <= 8;b++)
	{
		printf("%d*%d=%d ", a, b + 1, a * (b + 1));
	}
	printf("\n");
	for (a = 2, b = 0;a <= 9, b <= 7;b++)
	{
		printf("%d*%d=%d ", a, b + 1, a * (b + 1));
	}
	printf("\n");
	for (a = 3, b = 0;a <= 9, b <= 6;b++)
	{
		printf("%d*%d=%d ", a, b + 1, a * (b + 1));
	}
	printf("\n");
	for (a = 4, b = 0;a <= 9, b <= 5;b++)
	{
		printf("%d*%d=%d ", a, b + 1, a * (b + 1));
	}
	printf("\n");
	for (a = 5, b = 0;a <= 9, b <= 4;b++)
	{
		printf("%d*%d=%d ", a, b + 1, a * (b + 1));
	}
	printf("\n");
	for (a = 6, b = 0;a <= 9, b <= 3;b++)
	{
		printf("%d*%d=%d ", a, b + 1, a * (b + 1));
	}
	printf("\n");
	for (a = 7, b = 0;a <= 9, b <= 2;b++)
	{
		printf("%d*%d=%d ", a, b + 1, a * (b + 1));
	}
	printf("\n");
	for (a = 8, b = 0;a <= 9, b <= 1;b++)
	{
		printf("%d*%d=%d ", a, b + 1, a * (b + 1));
	}
	printf("\n");
	for (a = 9, b = 0;a <= 9, b <= 0;b++)
	{
		printf("%d*%d=%d ", a, b + 1, a * (b + 1));
	}
	printf("\n");

	return 0;
}